﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CapturePackage.Model
{
    [SugarTable("ProductMessage")]
    public class ProductMessage
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        [SugarColumn(ColumnDataType = "varchar(500)", IsNullable = true)]
        public string Title { get; set; }

        [SugarColumn(ColumnDataType = "varchar(500)", IsNullable = true)]
        public string href { get; set; }

        [SugarColumn(ColumnDataType = "varchar(500)", IsNullable = true)]
        public string ProductId { get; set; }

        [SugarColumn(ColumnDataType = "varchar(500)", IsNullable = true)]
        public string ImageUrl { get; set; }

        [SugarColumn(ColumnDataType = "varchar(500)", IsNullable = true)]
        public string Price { get; set; }
        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string ConfluenceSpaceId { get; set; }

        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string AnyShareSpaceId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string AnyShareSpaceName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string DateTime { get; set; }

        [SugarColumn(IsNullable = true)]
        public int TextmigrationCount { get; set; }

        [SugarColumn(IsNullable = true)]
        public int TextmigrationFaillCount { get; set; }


    }
}
